/*
 * @(#) Constants4Regex.java 2011-4-21
 *
 * Copyright (c) 2011, Strong Technology. All Rights Reserved.
 * Strong Technology. CONFIDENTIAL
 */
package cn.strong.gweva.common.util;

/**
 * 校验正则表达式
 * 
 * @author lilanfei
 * @version 1.0
 * @since 2011-4-21
 */
public class Constants4Regex
{

	/** 手机号校验正则表达式 */
	public static final String PHONE = "^(13\\d|15\\d|18\\d)-?\\d{5}(\\d{3}|\\*{3})$";
	
	/** 电话格式校验正则表达式 */
	public static final String TEL = "^(([0\\+]\\d{2,3}-)?(0\\d{2,3})-)(\\d{7,8})(-(\\d{3,}))?$";
	
	/** 邮箱校验正则表达式 */
	public static final String EMAIL = "^[-_A-Za-z0-9\\.]+@([_A-Za-z0-9]+\\.)+[A-Za-z0-9]{2,3}$";
	
	/** 字母数字下划线正则表达式 */
	public static final String NUMBEROR_LETTER = "^[0-9a-zA-Z\\_]+$";
	
	/** 字母数字符号正则表达式 */
	public static final String NUMBER_LETTER_MARKS = "^[0-9a-zA-Z`-\\~!@#$%^&*()_+{}|:\"<>?]+$";
	
	/** 汉字正则表达式 */
	public static final String IS_CH = "^[\u4E00-\u9FA5]+$";
	
	/** 数字正则表达式 */
	public static final String NUMBER = "^[0-9]+$";
	
	/** 数字或小数正则表达式 */
	public static final String NUMBERORDECIMAL = "^[+]?\\d+(.\\d+)?$";
	
	/**是否是数字开头*/
	public static final String START_WHIT_NUMBER = "^\\d{1}.*";
}
